﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Basics.Setting.Dto
{
    public class XPSettingDto
    {
        public bool CanGainXPFromConsumption { get; set; }
        public int XPGainedByOneAmount { get; set; }
        public bool IsXPGainedByOrderTotalAmount { get; set; }
        public bool IsXPGainedByCommodity { get; set; }

        public bool CanGainXPFromLogin { get; set; }
        public int XPGainedByOneLogin { get; set; }

        public bool CanOffsetAmountByXP { get; set; }
        public int XPNeededToOffsetOneAmount { get; set; }
        public double MaxPercentOfOffsetAmount { get; set; }
        public int MaxXPOfOneOrder { get; set; }
    }
}
